import hyRequest from "./index";


export function getTopMV(offset, limit = 10) {
  return hyRequest.get("/top/mv", {
    offset,
    limit
  })
}



export function getMVURL(id) {
  return hyRequest.get("/mv/url", {
    id
  })
}


/**
 * 
 * @param {number} mvid 
 */
export function getMVDetail(mvid) {
  return hyRequest.get("/mv/detail", {
    mvid
  })
}


export function getRelatedVideo(id) {
  return hyRequest.get("/related/allvideo", {
    id
  })
}